package com.qqtech.qquan.idle.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class IdleBase extends BaseDomain {

	// columns START
	/**
	 * 数量
	 */
	private Integer quantity;
	/**
	 * 标题
	 */
	private String title;

	/** 交易类型CommunityTradeTypeEnum:1-求购;2-私聊;3-一口价 */
	private Integer type;

	/** 内容 */
	private java.lang.String content;

	/** 创建者用户Id */
	private java.lang.Integer creatorId;

	/** 社区id */
	private java.lang.Integer communityId;

	/** 多个图片以;分开 */
	private java.lang.String img;
	/** 状态CommunityTradeStatusEnum:1-正常;2-删除;3-完成 */
	private java.lang.Integer status;
	/** 是否显示:1-是;2-否 */
	private java.lang.Integer isShow;
	/** 浏览量 */
	private java.lang.Integer pv;
	/** 价格 */
	private BigDecimal price;
	// columns END
	public IdleBase() {
	}
	public IdleBase(java.lang.Integer id) {
		this.id = id;
	}

	public java.lang.Integer getCommunityId() {
		return this.communityId;
	}

	public java.lang.String getContent() {
		return this.content;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}

	public java.lang.String getImg() {
		return this.img;
	}

	public java.lang.Integer getIsShow() {
		return this.isShow;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public java.lang.Integer getPv() {
		return this.pv;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}

	public String getTitle() {
		return title;
	}

	public Integer getType() {
		return this.type;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public void setContent(java.lang.String content) {
		this.content = content;
	}

	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public void setImg(java.lang.String img) {
		this.img = img;
	}

	public void setIsShow(java.lang.Integer isShow) {
		this.isShow = isShow;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public void setPv(java.lang.Integer pv) {
		this.pv = pv;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
